<%--
  Created by IntelliJ IDEA.
  User: Ypl
  Date: 2022/9/29
  Time: 17:33
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>参数页面</title>
</head>
<body>

    <a href="/param1?id=1&name=zhangsan">超链接(servlet方式接收)</a>
    <a href="/param2?id=1&name=zhangsan">超链接 </a>
    <a href="/param6?id=1">超链接 </a>
<!--post请求存在编码问题-->
<form action="/param5" method="post">
    <input type="text" name="id" value="2">
    <input type="text" name="name" value="马天宇">
    <input type="text" name="sex" value="男">
    <input type="checkbox" name="list" value="1">
    <input type="checkbox" name="list" value="2">
    <input type="checkbox" name="list" value="3">
    <input type="checkbox" name="hobby" value="stwe">
    <input type="checkbox" name="hobby" value="ewrt">
    <input type="checkbox" name="hobby" value="wert">

    <input type="submit">

</form>

</body>
</html>
